//
//  BalanceModel.swift
//  E-CycleForShop
//
//  Created by enghou on 2017/11/14.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//

import UIKit

class BalanceModel: BaseModel {
    var balance = 0
    override init(source sourceDt: Dictionary<String, Any>?) {
        super.init(source: sourceDt)
        if let source = self.data as? Dictionary<String,Any> {
            if let jsonobj = source["jsonobj"] as? Dictionary<String,Any> {
                if let benifit = jsonobj["blance"] as? Int {
                    balance = benifit
                }
            }
        }
    }
}
